body{
    background: #f5f5f5;
}
/*顶部通栏*/
.header{
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.1);
}
.navbar-default{
    background: #ffffff !important;
}
.navbar-nav{
    font-size: 16px;
    color: #000;
}
.navbar-brand{
    margin-right: 60px;
    font-size: 24px;
}
.navbar-form .input-group-addon{
    cursor: pointer;
    background: #3ca5f6;
    color: #ffffff;
}
.main-body{
    margin-top: 62px;
}

/*轮播图*/
.carousel-inner .item{
    height: 320px;
}

.carousel-inner .item img{
    width: 100%;
    height: 100%;
}

/*专题*/
.subject{
    margin-top: 15px;
    width: 100%;
    /*height: 300px;*/
    height: auto!important;
    background: #ffffff;
}
.subject-header{
    height: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}
.subject-header .subject-title{
    font-size: 18px;
    float: left;
    margin-left: 14px;
    margin-right: 36px;
}

.subject-header .subject-descri{
    font-size: 14px;
    line-height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space:nowrap;
    display:block;
}
.subject-body {
    margin: 10px 10px;
}
.subject-body .subject-item .avater{
    margin-bottom: 12px;
    height: 132px;
}
.subject-body .subject-item .avater img{
    width: 100%;
    height: 100%;
}

.subject-item-descri{
    font-size: 17px;
    width: 100%;
    height: 30px;
    display: block;
    text-align: center;
    line-height: 30px;
}

/*文章开始*/
.article-list{
    margin-top: 20px;
    background: #ffffff;
}
.article-list-title{
    height: 50px;
    margin: 8px 16px;
    border-bottom: 1px solid #ddd;
}
.article-list-title h2{
    font-size: 18px;
   /* line-height: 50px;*/
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid #3ca5f6;
}
.article-item{
    height: 160px;
    margin: 20px 10px;
    border-bottom: 1px solid #ddd;
}
.article-img{
    height: 140px;
}
.article-item .article-img{
    margin-right: -15px;
}
.article-item img{
    margin-top: 12px;
    width: 100%;
    height: 100%;
}
.article-title{
    margin-top: 18px;
}
.article-item p{
    width: 100%;
    text-indent: 20px;
    line-height: 24px;
    height: 72px;
    overflow:hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

.article-item .article-footer ul{
    margin-top: 6px;
    margin-left: -38px;
}

.article-item .article-footer ul li{
    list-style-type: none;
    float: left;
    margin-right: 40px;
}
.article-item .article-footer ul li .icon{
    color: #9d9d9d;
    margin-right: 8px;
}
.article-list-footer{
    margin-bottom: 16px;
}


/*右边的部分*/
.content-right{
    background: #ffffff;
}
/*图像部分*/
.user-area{
    margin-left: -15px;
    margin-right: -15px;
}
.user-area .user-avater-bg{
    height: 111px;
    width: 100%;
}
.user-avater{
    height: 42px;
    width: 72px;
    margin: 0 auto;
}
.user-avater img{
    margin-top: -40px;
    height: 72px;
    width: 72px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
/*用户标签*/
.user-label{
    margin: 15px auto;
    text-align: center;
}
.user-label span{
    position: relative;
    display: inline-block;
    padding: 3px 8px;
    margin-left: 8px;
    font-size: 12px;
    font-size: .12rem;
    color: #3ca5f6;
    font-weight: 400;
    line-height: 1.2;
    border: 1px solid #3ca5f6;
    vertical-align: middle;
    -webkit-border-radius: 1px;
    border-radius: 1px;
}
.user-label span:before,
.user-label span:after{
    position: absolute;
    left: -8px;
    top: 50%;
    margin-top: -4px;
    content: '';
    border: 4px solid transparent;
    border-right: 4px solid #3ca5f6;
}
.user-label span:after{
    left: -7px;
    border-right: 4px solid #fff;
}
/*用户简介*/
.user-descri{
    line-height: 24px;
    color: #9D9D9A;
    text-indent: 18px;
    margin: 0 8px 12px 12px;
    padding-bottom: 14px;
    white-space:normal;
    word-wrap:break-word;
    border-bottom: 1px solid #ddd;
}
/*用户社交，qq、微信公众号账号二维码*/
.user-social{
    height: 162px;
    border-bottom: 1px solid #ddd;
}
.qq,.wx{
    width: 100%;
    height: 100%;
    border: 1px solid #9D9D9A;
}
.user-social span{
    width: 100%;
    line-height: 32px;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}
.user-social-link{
    border-bottom: 1px solid #ddd;
}
/*社交连接开始*/
.user-social-link-header{
    height: 20px;
    line-height: 20px;
    font-size: 18px;
    width: 100%;
    text-indent: 10px;
    margin-left: 8px;
    border-left: 3px solid #3ca5f6;
}
.user-social-link ul li,
.user-firend-social-link ul li{
    margin-left: -13px;
    line-height: 28px;
    list-style-type: none;
}
.user-social-link ul li i,
.user-firend-social-link ul li i{
    margin-right: 8px;
    color: #d5d5d5;
}

/*底部版权区*/
.foot-copyright{
    height: 70px;
    line-height: 70px;
    text-align: center;
    background: #2d3237;
    color: #5f676f;
}


@media screen and (max-width: 768px) {
    .carousel-inner .item{
        height: 179px;
    }
   /* .content-right{
        display: none;
    }*/
    .user-social{
        height: 194px;
    }
    .subject-body .subject-item .avater{
        height: 109px;
    }
    .article-item{
        height: 106px;
    }
    .article-img{
        height: 75px;
    }

    .article-item .article-title{
        font-size: 16px;
    }

    .article-item .article-brief{
        display: none;
    }
    .article-item .article-footer{
        margin-top: 24px;
    }
    .article-item .article-footer ul li{
        margin-right: 20px;
    }
    .article-item .article-footer ul li:nth-child(2){
        display: none;
    }
    .article-item .article-footer ul li:nth-child(3){
        display: none;
    }

    .foot-copyright{
        line-height: 35px;
    }
}
